package com.houtaipeingboot.service;

import com.houtaipeingboot.pojo.Department;
import org.apache.ibatis.annotations.Param;

import java.util.List;

public interface DepartmentService {

    //根据部门名称查询
    public List<Department> getDepartsByDepName(String deparname);
    //根据id删除
    public boolean delByDid( int did);

    //根据id增加
    public boolean inByDid(@Param("depart") String depart,@Param("departmentdescription") String departmentdescription);
    //根据id更改
    public boolean upByDid(@Param("did") int did, @Param("depart") String depart, @Param("departmentdescription") String departmentdescription);
}
